@use "sass:math";
@use "variables" as *;

// 计算vw
@function vw($px) {
  @return math.div($px, $design-width) * 100vw;
}

// 计算vh
@function vh($px) {
  @return math.div($px, $design-height) * 100vh;
} 